//
//  LZThirdPartyAccountModel.m
//  laziz_Consumer
//
//  Created by xbn_iMac on 2017/3/23.
//  Copyright © 2017年 XBN. All rights reserved.
//

#import "LZThirdPartyAccountModel.h"

@implementation LZThirdPartyAccountModel

#pragma mark - 实现NSCoding协议的方法

-(id)initWithCoder:(NSCoder *)aDecoder{
    if (self = [super init]) {
        
        self.type = [aDecoder decodeIntegerForKey:@"type"];
        self.partyAccount = [aDecoder decodeObjectForKey:@"partyAccount"];
        self.partyKey = [aDecoder decodeObjectForKey:@"partyKey"];

    }
    return self;
}

-(void)encodeWithCoder:(NSCoder *)aCoder{
    [aCoder encodeInteger:self.type forKey:@"type"];
    [aCoder encodeObject:self.partyAccount forKey:@"partyAccount"];
    [aCoder encodeObject:self.partyKey forKey:@"partyKey"];
}

@end
